<div class="account-wrapper" ng-controller="questionStoreEdit">
    <div class="account-body">
        <h4>Edit a Question</h4>

        <form class="form account-form">

            <div class="form-group">
                <label class="control-label" for="textinput">分类：<!--category:--></label>
                <!--<input class="form-control" ng-model="question.category" required tabindex="5">-->
                <!--<select class="form-control" ng-model="questionStore.category" required tabindex="3">-->
                    <!--<option>question</option>-->
                <!--</select>-->
                <select ng-model="questionStore.category" ng-options="c.value as c.name for c in categoryList">
                </select>
            </div>

            <div class="form-group">
                <!--<label class="control-label" for="textinput">图片：&lt;!&ndash;category:&ndash;&gt;</label>-->
                <!--<img ng-src={{qimages.url}} id="imgs"  />-->
                <!--<img class="form-control" ng-model="question.data.images" id="imgs">-->
                <slide ng-repeat="img in questionStore.images" active="img.active">
                    <img ng-src="{{img}}" style="width: 100px;" onclick="if($(this).width()==100){
                    $('img').width(100);
                    $(this).width(360);
                    }else{
                    $(this).width(100);
                    };">
                </slide>
            </div>
            <div class="form-group">
                <label class="control-label" for="textinput">问题描述：<!--desc:--></label>
                <!--<input class="form-control" ng-model="question.data.desc" required tabindex="5">-->
                <textarea rows="3" cols="20" style="height:146px;" class="form-control" ng-model="questionStore.desc" required tabindex="5"></textarea>

            </div>
            <div>
                <label ng-repeat="m in tag.data">
                    <input style="zoom:1.8;margin-left: 10px;vertical-align:middle" type="checkbox" ng-model="chk" ng-click="toggle(chk,m.objId)"/>{{m.value}}
                </label>
            </div>

            <div class="form-group">
                <a onclick="javascript:history.go(-1)" class="btn btn-xs btn-primary">取消</a>
                <a ng-click="updateQuestionStroe()" class="btn btn-xs btn-primary">保存</a>
            </div>
        </form>
    </div>
</div>